package com.xbongbong.pro.product.pojo.dto;

import com.alibaba.fastjson.JSONObject;
import com.xbongbong.paas.domain.entity.ext.ConditionsEntityExt;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import com.xbongbong.saas.enums.UpdateDataTypeEnum;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 单据保存关联产品信息
 *
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/6/11 17:19
 * @since v1.0
 */
@Getter
@Setter
public class PagingProductDTO extends BaseDTO {

    private Long dataId;

    private JSONObject data;

    private UpdateDataTypeEnum updateDataTypeEnum;

    private Integer page;

    private Integer pageSize;

    private String attr;

    private List<Long> productIdList;

    /**
     * 搜索条件
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private List<ConditionsEntityExt> conditions;


    private Integer businessType;
}
